<?php
/*
 * @Author: your name
 * @Date: 2020-06-05 17:32:41
 * @LastEditTime: 2020-12-28 10:38:03
 * @LastEditors: Please set LastEditors
 * @Description: 主机原始规则(模块初始化后上传的主机安装客户端之前的规则)
 * @FilePath: /special/application/common/service/module_manage/netfilter/HostInitialRule.php
 */

namespace app\common\service\module_manage\netfilter;


use think\Db;

class HostInitialRule

{

    /**
     * @name: 删除
     * @Param: 
     * @Description: 
     * @Author: foo
     * @Date: 2019-10-31 15:53:19
     */
    public function delete ($host_id, $id)
    {
        Db::name('HostInitialRule')->where('id', $id)->where('host_id', $host_id)->delete();
    }
}